package com.sinog.front.feign.biz;

import com.sinog.core.utilbean.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @desc 运维功能-页面sql查询 - feign
 * @author - ybl
 * @date - 2022-10-19
 */
@FeignClient("sinog2c-biz")
public interface PageSelectService {

    /**
     * 运维功能-页面sql查询
     * @param data 前台数据
     * @return Result
     */
    @PostMapping("/azbj/maintenance/getPageSelect")
    Result getPageSelect(@RequestParam("data") String data);

    /**
     * 运维功能-删除罪犯人员信息
     * @param codeId 目的省区域编码
     * @param priNum 罪犯人员编号
     * @return Result
     */
    @PostMapping("/azbj/ywgl/ryql")
    Result deleteRyByPriNum(@RequestParam("codeId") String codeId,@RequestParam("priNum") String priNum);
}